<template>
    <div>
        <div>返回按钮</div>
        <div>
            <div v-for="item in selectedtopic" :key="item.name">
                <div>{{item.img}}</div>
                <div>{{item.name}}</div>
                <div>{{item.type}}</div>
            </div>
        </div>
    </div>
</template>

<script>
import {homeDataApi} from '@/api/homeDataApi'
export default {
    data() {
        return {
            selectedtopic: []
        }
    },
   async  created () {
        const data = await homeDataApi('selecTedopic');
        this.selectedtopic = data;
    }
}
</script>

<style lang="scss" scoped>

</style>